package com.weita.lightfood.model.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 健康报告表
 * @author IT_Monster
 */
@ApiModel("健康报告表")
@Data
public class HealthReport {
    /**
     * 报表id
     */
    @ApiModelProperty("报表id")
    private Integer id;

    /**
     * 所属用户id
     */
    @ApiModelProperty("所属用户id")
    private Integer userId;

    /**
     * 健康指数
     */
    @ApiModelProperty("健康指数")
    private Integer index;

    /**
     * 健康评级
     */
    @ApiModelProperty("健康评级")
    private String level;

    /**
     * BMI
     */
    @ApiModelProperty("BMI")
    private Double bmi;

    /**
     * BFR
     */
    @ApiModelProperty("BFR(体脂率)")
    private Double bfr;

    /**
     * 预算热量
     */
    @ApiModelProperty("预算热量")
    private double calorieBudget;

    /**
     * 身材类型
     */
    @ApiModelProperty("身材类型")
    private String bodyType;

    /**
     * 标准体重
     */
    @ApiModelProperty("标准体重(kg)")
    private double standardWeight;

    public HealthReport(Integer userId, Integer index, String level, Double bmi, Double bfr, double calorieBudget, String bodyType, double standardWeight) {
        this.userId = userId;
        this.index = index;
        this.level = level;
        this.bmi = bmi;
        this.bfr = bfr;
        this.calorieBudget = calorieBudget;
        this.bodyType = bodyType;
        this.standardWeight = standardWeight;
    }

    public HealthReport() {
    }
}